package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.TravelQuestion;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface TravelQuestionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TravelQuestion record);

    TravelQuestion selectByPrimaryKey(Long id);

    List<TravelQuestion> selectAll();

    int updateByPrimaryKey(TravelQuestion record);

    List<TravelQuestion> selectForList(QueryObject qo);

    List<TravelQuestion> travelQuestionsByState(int state);
}